<%@ include file="/inc/header.jsp" %>

<p>&nbsp;</p>
<html:form action="todo">
  <table border="0" align="center" cellspacing="0" cellpadding="0" width="70%">
    <tr>
      <th class="colored" colspan="2"><b>Ajout d'un todo</b></th>
    </tr>
    <tr>
      <td width="36%" align="left" valign="top">&nbsp;</td>
      <td width="36%" align="left" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td width="36%" align="left" valign="top">&nbsp;Cat&eacute;gorie existante :</td>
      <td width="36%" align="left" valign="top">
		<html:select property="category">
			<html:option value=""/>
			<html:optionsCollection name="categories"/>
		</html:select>
      </td>
    </tr>
    <tr>
      <td width="36%" align="left" valign="top">&nbsp;</td>
      <td width="36%" align="left" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td width="36%" align="left" valign="top">&nbsp;Nouvelle Cat&eacute;gorie :</td>
      <td width="36%" align="left" valign="top"><html:text property="newCategory" size="30"/></td>
    </tr>
    <tr>
      <td width="36%" align="left" valign="top">&nbsp;</td>
      <td width="36%" align="left" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td width="36%" align="left" valign="top">&nbsp;Text :</td>
      <td width="36%" align="left" valign="top"><html:text property="text" size="60"/></td>
    </tr>
    <tr>
      <td width="36%" align="left" valign="top">&nbsp;</td>
      <td width="36%" align="left" valign="top">&nbsp;</td>
    </tr>
  </table>

<center>
	<html:submit property="actionName" value="Ajouter" styleClass="button" />
</center>

</html:form>

<%@ include file="/inc/footer.jsp" %>
